# -*- coding: utf-8 -*-

from PIL import Image
import pytesseract
import os

'''
text=pytesseract.image_to_string(Image.open('C:/Users/Administrator/Desktop/20180316234424.png'),lang='chi_sim')
print(text);
'''

print("-----------------------------------------------------------------------------------------------")
text = pytesseract.image_to_string(Image.open('C:/Users/Administrator/Desktop/eng.jpg'), lang='eng')
print(text);

os.system("pause");
